Skip to content

Comments

feat: add custom manager to pin build-utils digest#77

Closed
Mohammed Naser (mnaser) wants to merge 1 commit intomainfrom
renovate/pin-build-utils-digest
Closed

feat: add custom manager to pin build-utils digest#77
Mohammed Naser (mnaser) wants to merge 1 commit intomainfrom
renovate/pin-build-utils-digest

Conversation

@mnaser
Copy link
Member

Summary

  • Add a Renovate custom regex manager to detect and pin the digest of ghcr.io/vexxhost/build-utils in the --mount=type=bind,from= syntax
  • This ensures Docker layer cache invalidation when build-utils is updated

Background

The --mount=type=bind,from=image:tag syntax within RUN commands isn't detected by Renovate's default Docker manager. This custom manager uses regex to match the pattern and allows Renovate to pin the digest.

Once merged, Renovate should create a follow-up PR to pin the actual digest.

Test plan

  • Merge this PR
  • Verify Renovate creates a PR to pin the build-utils digest

🤖 Generated with Claude Code

Add a Renovate custom regex manager to detect and pin the digest
of ghcr.io/vexxhost/build-utils in the --mount=type=bind,from=
syntax. This ensures cache invalidation when build-utils is updated.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant